package com.csun.cmny.provider.model.domain;

import com.csun.cmny.core.mybatis.BaseEntity;
import lombok.Data;

import javax.persistence.*;
import java.util.Date;

@Data
@Table(name = "cn_dmc_csun_camera_off_cmd_record")
public class DmcCsunCameraOffCmdRecord extends BaseEntity {

    /**
     * 设备Id
     */
    @Column(name = "device_id")
    private Long deviceId;

    /**
     * 指令任务Id
     */
    @Column(name = "task_id")
    private String taskId;

    /**
     * 功能码
     */
    private String code;

    /**
     * 指令内容
     */
    private String content;

    /**
     * 指令是否发送 0-未发送 1-已发送
     */
    @Column(name = "is_send")
    private Integer isSend;

    /**
     * 指令下发时间
     */
    @Column(name = "send_time")
    private String sendTime;

    /**
     * 指令是否回调 0-未回调 1-已回调
     */
    @Column(name = "is_callback")
    private Integer isCallback;

    /**
     * 回调时间
     */
    @Column(name = "callbak_time")
    private String callbakTime;

    /**
     * 替换的离线命令Id
     */
    @Column(name = "replace_id")
    private Long replaceId;
}